package com.aijk.ehm.dao.mybatis;


import com.aijk.ehm.model.EhmResident;
import com.aijk.ehm.model.EhmResidentExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface EhmResidentMapper {
    int countByExample(EhmResidentExample example);

    int deleteByExample(EhmResidentExample example);

    int deleteByPrimaryKey(Long id);

    int insert(EhmResident record);

    int insertSelective(EhmResident record);

    List<EhmResident> selectByExample(EhmResidentExample example);

    EhmResident selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") EhmResident record, @Param("example") EhmResidentExample example);

    int updateByExample(@Param("record") EhmResident record, @Param("example") EhmResidentExample example);

    int updateByPrimaryKeySelective(EhmResident record);

    int updateByPrimaryKey(EhmResident record);
}